package com.lunhui.user.client;

import com.lunhui.user.client.model.RoseDto;

import java.util.List;

public interface RoseClient {

    List<RoseDto> findRoseIdAndNameListByUserId (Integer userId) throws Exception;

    Integer saveToDB (RoseDto roseDto) throws Exception;

    RoseDto findRoseByUserIdAndRoseName(Integer userId, String roseName);

    RoseDto findRoseByRoseId(Integer roseId);

    Integer update(RoseDto roseDto);
}
